
<!DOCTYPE html>
<html lang="en">
    <include file="Public:header" />
        <!-- Side menu -->
        <!-- 引用header.html -->
        <!-- /Side menu -->
        
        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    俱乐部管理员管理
                </h2>
            </div> <!-- /row-fluid -->

            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5>修改俱乐部管理员信息</h5>
                        <div class="widget-buttons">
                            <!--<a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>-->
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>
                    </div>
                
            <form class="form-horizontal"  method="post" action="{:U('Clubadmin/updateadmin')}" enctype="multipart/form-data">
                  <input type="hidden" name="admin_id" value="<?php echo $admin[0]['admin_id']; ?>">
                <!--  <input type="hidden" name="oldpic" value="<?php echo $admin[0]['admin_picture']; ?>"> -->
        <div class="widget-body">
              <div class="widget-forms clearfix">
                <form class="form-horizontal">

               <!--     <div class="control-group">
                    <label class="control-label">大师姓名:</label>
                    <div class="controls">
                      <input class="span7 tip" name="name" 
                      data-title="大师姓名"  disabled=""
                       type="text"  value=<?php  echo $train[0]['name'];  ?>>
                    </div>
                </div> -->

                <div class="control-group">
                    <label class="control-label">俱乐部管理员姓名:</label>
                    <div class="controls">
                      <input class="span7 tip" name="admin_name"
                      type="text"  value=<?php  echo $admin[0]['admin_name'];  ?>>
                    </div>
                </div>

            

                <div class="control-group">
                    <label class="control-label">联系电话:</label>
                    <div class="controls">
                      <input class="span7 tip" name="admin_tel"  type="text" value=<?php  echo $admin[0]['admin_tel'];?>>
                    </div>
                </div>


                <div class="control-group">
                    <label class="control-label">管理的俱乐部</label>
                    <div class="controls">
                      <input class="span7 tip" name="club_name"  type="text" value=<?php  echo $admin[0]['club_name'];?>>
                    </div>
                </div>


                <div class="control-group">
                    <label class="control-label">大师状态</label>
                    <div class="controls">
                       
                      <label class="radio">
                        <input type="radio" name="state" id="optionsRadios1" value="0" <?php if ($admin[0]['state']==0){echo "checked";}?>>暂停使用
                      </label> 
                      <label class="radio">
                        <input type="radio" name="state" id="optionsRadios2" value="1" <?php if ($admin[0]['state']==1){echo "checked";}?>>取消禁用
                      </label> 
                    </div>

            

            <div class="widget-footer">
            <div class="controls">
               <button class="btn btn-primary" type="submit">保存修改信息</button>
               <a href="#" onClick="javascript :history.back(-1);"><button class="btn" type="button">取消</button></a>
            </div>
            </div>
            </form>
          </div>
        </div> 
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>